package com.learn.shop.pojo.entriy;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * 小说爬取历史(SNovelCrawlingHistory)实体类
 *
 * @author zhengdechang
 * @since 2021-12-30 11:43:27
 */
public class SNovelCrawlingHistory implements Serializable {
    private static final long serialVersionUID = -37719298752241935L;
    /**
     * 主键
     */
    private Integer id;
    /**
     * 书名
     */
    private String novelName;
    /**
     * 小说地址
     */
    private String url;
    /**
     * 域名切割位置
     */
    private String urlSplit;
    /**
     * 作者
     */
    private String author;
    /**
     * 爬取时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date crawlingTime;
    /**
     * 爬取消耗时间
     */
    private String consumeTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNovelName() {
        return novelName;
    }

    public void setNovelName(String novelName) {
        this.novelName = novelName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUrlSplit() {
        return urlSplit;
    }

    public void setUrlSplit(String urlSplit) {
        this.urlSplit = urlSplit;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public Date getCrawlingTime() {
        return crawlingTime;
    }

    public void setCrawlingTime(Date crawlingTime) {
        this.crawlingTime = crawlingTime;
    }

    public String getConsumeTime() {
        return consumeTime;
    }

    public void setConsumeTime(String consumeTime) {
        this.consumeTime = consumeTime;
    }

}

